<?php
/* --------------------------------------------------------------
   gm_edit_bookmarks.php 2008-05-29 gambio
   Gambio OHG
   http://www.gambio.de
   Copyright (c) 2008 Gambio OHG
   Released under the GNU General Public License (Version 2)
   [http://www.gnu.org/licenses/gpl-2.0.html]
   --------------------------------------------------------------
*/
	
	defined('_VALID_XTC') or die('Direct Access to this location is not allowed.');

?>
<table border="0" width="100%" cellspacing="0" cellpadding="2">
	<tr>
		<td valign="top" align="left" class="main">
			<b><?php echo MENU_TITLE_BOOKMARKS; ?></b> 
		</td>
	</tr>
</table>
<br />
<br />
<form enctype='multipart/form-data' method='post' action="<?php echo xtc_href_link('gm_bookmarks.php', 'action=gm_edit_bookmarks'); ?>">
	<table border="0" width="100%" cellspacing="0" cellpadding="2" id="gm_table">		
		<tr>
			<td valign="top" align="left" class="main" width="100">
				<?php 
					echo "<strong>" . TITLE_BOOKMARK_NAME . "</strong>";
				?>
			</td>
			<td valign="top" align="left" class="main">
				<textarea style="width:400px;" rows="1" name="gm_bookmarks_name"><?php echo $gm_bookmarks['0']['gm_bookmarks_name']; ?></textarea>
			</td>
		</tr>
		<tr>
			<td valign="top" align="left" class="main" width="100">
				<?php 
					echo "<strong>" . TITLE_BOOKMARK_LINK . "</strong>";
				?>
			</td>
			<td valign="top" align="left" class="main">
				<textarea style="width:400px;" rows="1" name="gm_bookmarks_link"><?php echo $gm_bookmarks['0']['gm_bookmarks_link']; ?></textarea>
			</td>
		</tr>
		<tr>
			<td valign="top" align="left" class="main" width="100">
				<?php 
					echo "<strong>" . TITLE_BOOKMARK_ICON . "</strong>";
				?>
			</td>
			<td valign="top" align="left" class="main">
				<input type="file" name="gm_bookmarks_image">
			</td>
		</tr>
		<tr>
			<td valign="middle" align="left" class="main">				
				&nbsp;
			</td>
			<td valign="middle" align="left" class="main">				
				&nbsp;
			</td>
		</tr>
		<tr>
			<td colspan="2" valign="top" align="left" class="main">
				<input type="hidden" name="gm_bookmarks_id" value="<?php echo $gm_bookmarks['0']['gm_bookmarks_id']; ?>">
				<input class="button" type="submit" name="gm_bookmarks_save" value="<?php echo TITLE_SAVE; ?>">
			</td>
		</tr>
	</table>
</form>